﻿using agsXMPP.Xml.Dom;

namespace Lapd.Common.CustomStanzas
{
    public class Join: Element
    {
        /*
	        <join group="groupName">
		    </join>
        */

        public Join()
        {
            TagName = ServiceDdsConstants.JOIN_TAG;
        }

        public Join(string group) : this()
        {
            Group = group;
        }

        public string Group
        {
            get
            {
                return GetAttribute(ServiceDdsConstants.JOIN_GROUP_ATTRIBUTE);
            }

            set
            {
                SetAttribute(ServiceDdsConstants.JOIN_GROUP_ATTRIBUTE, value);
            }
        }
    }
}
